package com.wx.spring.demo.service.impl;

import com.wx.spring.annotations.MyAutowired;
import com.wx.spring.annotations.MyService;
import com.wx.spring.demo.dao.UserDao;
import com.wx.spring.demo.entity.User;
import com.wx.spring.demo.service.UserService;

/**
 * @ClassName UserServiceImpl
 * @Author wx
 * @Description 用户service
 * @Date 2019-02-04-17:00
 */
@MyService
public class UserServiceImpl implements UserService {
    @MyAutowired
    private UserDao userDao;

    @Override
    public User queryUser(String userName, String passWord) {
        return userDao.queryUser(userName,passWord);
    }
}
